export default {
  hasToken: ({
    user
  }) => user.token == '' ? false : true,
  token: ({
    user
  }) => user.token,
  routes: ({
    user
  }) => user.routes,
  roleid: ({
    user
  }) => user.roleid,
}